﻿@model MvcApplication5.Models.Account

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <title>LogOn</title>
    <link rel="stylesheet" type="text/css" href="/css/style2.css"
    media ="all" />
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
</head>
<body>
    <div class="main">                
        <div class="header">            
        </div>
        <div class="logon-body">                        
            @using (Html.BeginForm()) {
                <div class="logon-box">
                    <h3 class="logon-title">Đăng nhập vào hệ thống</h3>                                            
                    <div class="editor-label" style="margin-bottom:5px;">
                        @Html.LabelFor(m => m.Username)
                    </div>
                    <div class="editor-field" style="margin-bottom:5px;">
                        @Html.TextBoxFor(m => m.Username)
                        @Html.ValidationMessageFor(m => m.Username)
                    </div>
                    <div class="editor-label" style="margin-bottom:5px;">
                        @Html.LabelFor(m => m.Password)
                    </div>
                    <div class="editor-field">
                        @Html.PasswordFor(m => m.Password)
                        @Html.ValidationMessageFor(m => m.Password)
                    </div>          
                    <p>
                        <input type="submit" value="Đăng nhập" />
                    </p>
                    @Html.ValidationSummary(true, "Đăng nhập không thành công, vui lòng thử lại")
                    @*<p>
                        Please enter your user name and password. @Html.ActionLink("Register", "Register") if you don't have an account.
                    </p>*@                    
                </div>
            }                
            </div>
            <div class="logon-footer">

            </div>
    </div>
</body>
</html>
